<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>SeedIndex</title>
</head>
<body>

<form th:action="@{/th/post}" th:object="${user}" th:method="post">
    <input type = "text" th:field="*{username}"/>
    <input type="submit"/>
</form>

</body>
</html>